package com.woniuxy.service.impl;

import com.woniuxy.entity.Product;
import com.woniuxy.service.ProductService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class ProductServiceImplTest {
    @Autowired
    ProductService productService;
    @Test
    public void addOne() {
        productService.addOne(new Product(null,"订单",12D,10));
    }
}
